import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [{
    path: '/',
    name: 'Index',
    component: () => import ('../views/Index.vue')
},
    {
        path: '/index',
        name: 'Index',
        component: () => import ('../views/Index.vue')
    },
    {
        path: '/login',
        name: 'Login',
        component: () => import ('../views/Login.vue')
    },
    {
        path: '/exhibition',
        name: 'Exhibition',
        component: () => import ('../views/Exhibition.vue')
    },
    {
        path: '/cart',
        name: 'Cart',
        component: () => import ('../views/Cart.vue')
    },
    {
        path: '/details',
        name: 'Details',
        component: () => import ('../views/Details.vue')
    }
]

const router = new VueRouter({
    routes
})

export default router